package cn.qihua.model;

/**
 * SysOrganization entity. @author MyEclipse Persistence Tools
 */

public class SysOrganization implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -689005756990034535L;
	private Integer id;
	private String text;
	private Integer parentId;
	private String parentIds;
	private Boolean available;

	// Constructors

	/** default constructor */
	public SysOrganization() {
	}

	/** full constructor */
	public SysOrganization(String text, Integer parentId, String parentIds,
			Boolean available) {
		this.text = text;
		this.parentId = parentId;
		this.parentIds = parentIds;
		this.available = available;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getParentIds() {
		return this.parentIds;
	}

	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	public Boolean getAvailable() {
		return this.available;
	}

	public void setAvailable(Boolean available) {
		this.available = available;
	}

}